Areas and Plane Equations
A two-dimensional area is defined by theTQ3Area
data type.
typedef struct TQ3Area { TQ3Point2D min; TQ3Point2D max; } TQ3Area;A plane equation is defined by the
Field Description
min
- A two-dimensional point.
max
- A two-dimensional point.
TQ3PlaneEquation
data type.
typedef struct TQ3PlaneEquation { TQ3Vector3D normal; float constant; } TQ3PlaneEquation;
Field Description
normal
- The vector that is normal (perpendicular) to the plane.
constant
- The plane constant. A plane constant is the value d in the plane equation ax+by+cz+d = 0. The coefficients a, b, and c are the x, y, and z components of the normal vector.